package com.chixing.day20_annotation_jdk8.work;

import java.time.LocalDateTime;

public class Coutomer {
    //客户号 姓名 所述机构号 性别 帐号 发生时间 发生额
    private String couId;
    private String couName;
    private String couOrganId;
    private int couGender;
    private long couAccount;
    private LocalDateTime couTime;
    private double couMoney;

    public String getCouId() {
        return couId;
    }

    public void setCouId(String couId) {
        this.couId = couId;
    }

    public String getCouName() {
        return couName;
    }

    public void setCouName(String couName) {
        this.couName = couName;
    }

    public String getCouOrganId() {
        return couOrganId;
    }

    public void setCouOrganId(String couOrganId) {
        this.couOrganId = couOrganId;
    }

    public int getCouGender() {
        return couGender;
    }

    public void setCouGender(int couGender) {
        this.couGender = couGender;
    }

    public long getCouAccount() {
        return couAccount;
    }

    public void setCouAccount(long couAccount) {
        this.couAccount = couAccount;
    }

    public LocalDateTime getCouTime() {
        return couTime;
    }

    public void setCouTime(LocalDateTime couTime) {
        this.couTime = couTime;
    }

    public double getCouMoney() {
        return couMoney;
    }

    public void setCouMoney(double couMoney) {
        this.couMoney = couMoney;
    }

    public Coutomer(String couId, String couName, String couOrganId, int couGender, long couAccount, LocalDateTime couTime, double couMoney) {
        this.couId = couId;
        this.couName = couName;
        this.couOrganId = couOrganId;
        this.couGender = couGender;
        this.couAccount = couAccount;
        this.couTime = couTime;
        this.couMoney = couMoney;
    }

    @Override
    public String toString() {
        return "coutomer{" +
                "couId=" + couId +
                ", couName='" + couName + '\'' +
                ", couOrganId=" + couOrganId +
                ", couGender=" + couGender +
                ", couAccount=" + couAccount +
                ", couTime=" + couTime +
                ", couMoney=" + couMoney +
                '}';
    }
}
